import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.OnLifecycleEvent

interface IPresenter :LifecycleObserver{
    @OnLifecycleEvent(value = Lifecycle.Event.ON_DESTROY)
    open fun onDestrory()
}